namespace UniversalAdminSystem.Application.FileStorage.DTOs;

public record FileDto(
    Guid Id,
    string Name,
    string Path,
    long Size,
    string Type,
    Guid OwnerId,
    DateTime UploadTime,
    bool IsFolder,
    Guid? ParentId,
    string AccessLevel
);

public record FileUploadDto(
    string Name,
    string Path,
    long Size,
    string Type,
    Guid? ParentId = null
);

public record FileDownloadDto(
    Guid Id,
    string Name,
    string Path,
    string Type
);

public record FileUploadResultDto(
    Guid? Id = null,
    string? Name = null,
    string? Path = null,
    long? Size = null,
    string? Type = null,
    string? Message = null
);